//
//  DHPublicImage_NoCollectionCell.m
//  Dresshere
//
//  Created by ZhangPeng on 2018/5/31.
//  Copyright © 2018年 张朋. All rights reserved.
//

#import "DHPublicImage_NoCollectionCell.h"

@implementation DHPublicImage_NoCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.imgView.layer.borderWidth = 1;
    self.imgView.layer.borderColor = [[UIColor colorWithHexString:@"#DEDBDB"] CGColor];
    self.aiView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];
    
    WeakSelf(weakSelf)
    [self.xButton bk_addEventHandler:^(id sender) {
        [weakSelf routerEventWithName:@"delete_image" userInfo:@{@"model":weakSelf.model}];
    } forControlEvents:UIControlEventTouchUpInside];
}

@end
